﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace CodePlex.KeyedList.TestProject.TestObjects
{
	

	[Serializable, DebuggerDisplay("{MyKey} {MyName}")]
	public sealed class KeyedTestClass2 : IKeyedItem<string, int>
	{

		public KeyedTestClass2()
		{
		}

		public KeyedTestClass2(string key1, int key2, string value)
		{
			this.MyKey1 = key1;
			this.MyKey2 = key2;
			this.Value = value;
		}


		public string MyKey1 { get; set; }

		public int MyKey2 { get; set; }

		public string Value { get; set; }


		Key<string, int> IKeyedItem<Key<string, int>>.Key
		{
			get { return new Key<string, int>(this.MyKey1, this.MyKey2); }
		}

	}

}
